export const passwordRegular = /^(?=.*[a-zA-Zа-яА-Я])(?=.*\d).{8,}$/;
export const nameRegular = /^\p{Lu}\p{L}[\p{L}\s'-]*$/u;
export const surnameRegular = /^\p{Lu}\p{L}[\p{L}\s'-]*$/u;
export const phoneNumberRegular = /^\+7 \(\d{3}\) \d{3}-\d{2}-\d{2}$/;
export const emailRegular =
  /^([A-Za-z0-9_\-.])+@([A-Za-z0-9_\-.])+\.([A-Za-z]{2,4})$/;
